#define  _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
int main()
{
	int arr[10] = { 0 };
	int i = 0;
	int positive = 0;
	int negative = 0;

	for (i = 0; i < 10; i++)
	{
		scanf("%d", &arr[i]);
	}
	for (i = 0; i < 10; i++)
	{
		if (arr[i] >= 0)
			positive++;
		else
			negative++;
	}
	printf("positive=%d\n", positive);
	printf("negative=%d\n", negative);
	return 0;
}